public class

UpdateSubscriptionParameters

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

Class Overview

Wrapper for Update Subscription Parameters

Summary

Fields
private double applicationFeePercent
private String coupon
private String customerId
private Map<String, Object> metadata
private String plan
private boolean prorate
private int quantity
private Source source
private String sourceToken
private String subscriptionId
private double taxPercent
private String trialEnd
Public Constructors
UpdateSubscriptionParameters()
Public Methods
double getApplicationFeePercent()
String getCoupon()
String getCustomerId()
Map<String, Object> getMetadata()
String getPlan()
int getQuantity()
Source getSource()
String getSourceToken()
String getSubscriptionId()
double getTaxPercent()
String getTrialEnd()
boolean isProrate()
void setApplicationFeePercent(double applicationFeePercent)
void setCoupon(String coupon)
void setCustomerId(String customerId)
void setMetadata(Map<String, Object> metadata)
void setPlan(String plan)
void setProrate(boolean prorate)
void setQuantity(int quantity)
void setSource(Source source)
void setSourceToken(String sourceToken)
void setSubscriptionId(String subscriptionId)
void setTaxPercent(double taxPercent)
void setTrialEnd(String trialEnd)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private double applicationFeePercent

private String coupon

private String customerId

private Map<String, Object> metadata

private String plan

private boolean prorate

private int quantity

private Source source

private String sourceToken

private String subscriptionId

private double taxPercent

private String trialEnd

Public Constructors

public UpdateSubscriptionParameters ()

Public Methods

public double getApplicationFeePercent ()

Returns
  • the applicationFeePercent

public String getCoupon ()

Returns
  • the coupon

public String getCustomerId ()

Returns
  • the customerId

public Map<String, Object> getMetadata ()

Returns
  • the metadata

public String getPlan ()

Returns
  • the plan

public int getQuantity ()

Returns
  • the quantity

public Source getSource ()

Returns
  • the source

public String getSourceToken ()

Returns
  • the sourceToken

public String getSubscriptionId ()

Returns
  • the subscriptionId

public double getTaxPercent ()

Returns
  • the taxPercent

public String getTrialEnd ()

Returns
  • the trialEnd

public boolean isProrate ()

Returns
  • the prorate

public void setApplicationFeePercent (double applicationFeePercent)

Parameters
applicationFeePercent The applicationFeePercent to set

public void setCoupon (String coupon)

Parameters
coupon The coupon to set

public void setCustomerId (String customerId)

Parameters
customerId The customerId to set

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

Parameters
metadata The metadata to set

public void setPlan (String plan)

Parameters
plan The plan to set

public void setProrate (boolean prorate)

Parameters
prorate The prorate to set

public void setQuantity (int quantity)

Parameters
quantity The quantity to set

public void setSource (Source source)

Parameters
source The source to set

public void setSourceToken (String sourceToken)

Parameters
sourceToken The sourceToken to set

public void setSubscriptionId (String subscriptionId)

Parameters
subscriptionId The subscriptionId to set

public void setTaxPercent (double taxPercent)

Parameters
taxPercent The taxPercent to set

public void setTrialEnd (String trialEnd)

Parameters
trialEnd The trialEnd to set