public class

CreateChargeParameters

extends Object
java.lang.Object
   ↳ com.wsl.modules.stripe.complextypes.CreateChargeParameters

Class Overview

Wraps the Create Charge parameters

Summary

Fields
private int amount
private int applicationFee
private boolean capture
private String currency
private String customerId
private String description
private String destination
private Map<String, Object> metadata
private String receiptEmail
private Map<String, String> shipping
private Source source
private String statementDescriptor
Public Constructors
CreateChargeParameters()
Public Methods
int getAmount()
int getApplicationFee()
String getCurrency()
String getCustomerId()
String getDescription()
String getDestination()
Map<String, Object> getMetadata()
String getReceiptEmail()
Map<String, String> getShipping()
Source getSource()
String getStatementDescriptor()
boolean isCapture()
void setAmount(int amount)
void setApplicationFee(int applicationFee)
void setCapture(boolean capture)
void setCurrency(String currency)
void setCustomerId(String customerId)
void setDescription(String description)
void setDestination(String destination)
void setMetadata(Map<String, Object> metadata)
void setReceiptEmail(String receiptEmail)
void setShipping(Map<String, String> shipping)
void setSource(Source source)
void setStatementDescriptor(String statementDescriptor)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private int amount

private int applicationFee

private boolean capture

private String currency

private String customerId

private String description

private String destination

private Map<String, Object> metadata

private String receiptEmail

private Map<String, String> shipping

private Source source

private String statementDescriptor

Public Constructors

public CreateChargeParameters ()

Public Methods

public int getAmount ()

Returns
  • the amount

public int getApplicationFee ()

Returns
  • the applicationFee

public String getCurrency ()

Returns
  • the currency

public String getCustomerId ()

Returns
  • the customerId

public String getDescription ()

Returns
  • the description

public String getDestination ()

Returns
  • the destination

public Map<String, Object> getMetadata ()

Returns
  • the metadata

public String getReceiptEmail ()

Returns
  • the receiptEmail

public Map<String, String> getShipping ()

Returns
  • the shipping

public Source getSource ()

Returns
  • the source

public String getStatementDescriptor ()

Returns
  • the statementDescriptor

public boolean isCapture ()

Returns
  • the capture

public void setAmount (int amount)

Parameters
amount The amount to set

public void setApplicationFee (int applicationFee)

Parameters
applicationFee The applicationFee to set

public void setCapture (boolean capture)

Parameters
capture The capture to set

public void setCurrency (String currency)

Parameters
currency The currency to set

public void setCustomerId (String customerId)

Parameters
customerId The customerId to set

public void setDescription (String description)

Parameters
description The description to set

public void setDestination (String destination)

Parameters
destination The destination to set

public void setMetadata (Map<String, Object> metadata)

Parameters
metadata The metadata to set

public void setReceiptEmail (String receiptEmail)

Parameters
receiptEmail The receiptEmail to set

public void setShipping (Map<String, String> shipping)

Parameters
shipping The shipping to set

public void setSource (Source source)

Parameters
source The source to set

public void setStatementDescriptor (String statementDescriptor)

Parameters
statementDescriptor The statementDescriptor to set