public class CreateChargeRequest extends Request
| Modifier and Type | Field and Description |
|---|---|
protected int |
amount |
protected Integer |
applicationFee |
protected Boolean |
capture |
protected Object |
card |
protected String |
currency |
protected String |
customer |
protected String |
description |
protected Map<String,Object> |
metadata |
protected String |
statementDescription |
| Constructor and Description |
|---|
CreateChargeRequest(int amount,
String currency) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount() |
Integer |
getApplicationFee() |
Boolean |
getCapture() |
Object |
getCard() |
String |
getCurrency() |
String |
getCustomer() |
String |
getDescription() |
Map<String,Object> |
getMetadata() |
String |
getStatementDescription() |
CreateChargeRequest |
setApplicationFee(Integer applicationFee) |
CreateChargeRequest |
setCapture(Boolean capture) |
CreateChargeRequest |
setCard(CreateCardRequest request) |
CreateChargeRequest |
setCard(String card) |
CreateChargeRequest |
setCustomer(String customer) |
CreateChargeRequest |
setDescription(String description) |
CreateChargeRequest |
setMetadata(Map<String,Object> metadata) |
CreateChargeRequest |
setStatementDescription(String statementDescription) |
dateToString, toRequest, toRequest, toRequestprotected int amount
protected String currency
protected String customer
protected Object card
protected String description
protected Boolean capture
protected String statementDescription
protected Integer applicationFee
public CreateChargeRequest(int amount,
String currency)
public CreateChargeRequest setCustomer(String customer)
public CreateChargeRequest setDescription(String description)
public CreateChargeRequest setMetadata(Map<String,Object> metadata)
public CreateChargeRequest setCapture(Boolean capture)
public CreateChargeRequest setStatementDescription(String statementDescription)
public CreateChargeRequest setApplicationFee(Integer applicationFee)
public CreateChargeRequest setCard(String card)
public CreateChargeRequest setCard(CreateCardRequest request)
public int getAmount()
public String getCurrency()
public String getCustomer()
public Object getCard()
public String getDescription()
public Boolean getCapture()
public String getStatementDescription()
public Integer getApplicationFee()
Copyright © 2014. All rights reserved.