public class PaymentResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentResult.Result |
| Constructor and Description |
|---|
PaymentResult() |
| Modifier and Type | Method and Description |
|---|---|
PaymentResult |
accepted() |
static PaymentResult |
create(Long paymentId) |
PaymentResult |
failed(String desc) |
String |
getDescription() |
Long |
getId() |
PaymentResult.Result |
getResult() |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setResult(PaymentResult.Result result) |
PaymentResult |
success() |
String |
toString() |
public Long getId()
public void setId(Long id)
public PaymentResult.Result getResult()
public void setResult(PaymentResult.Result result)
public String getDescription()
public void setDescription(String description)
public static PaymentResult create(Long paymentId)
public PaymentResult success()
public PaymentResult accepted()
public PaymentResult failed(String desc)
Copyright © 2017. All rights reserved.