Class SubscriptionGatewayEndpointConfiguration
- java.lang.Object
-
- org.apache.camel.component.braintree.BraintreeConfiguration
-
- org.apache.camel.component.braintree.SubscriptionGatewayEndpointConfiguration
-
@ApiParams(apiName="subscription",description="Provides methods to interact with Subscriptions",apiMethods={@ApiMethod(methodName="cancel",description="Cancels the Subscription with the given id",signatures="com.braintreegateway.Result<com.braintreegateway.Subscription> cancel(String id)"),@ApiMethod(methodName="create",description="Creates a Subscription",signatures="com.braintreegateway.Result<com.braintreegateway.Subscription> create(com.braintreegateway.SubscriptionRequest request)"),@ApiMethod(methodName="delete",signatures="com.braintreegateway.Result<com.braintreegateway.Subscription> delete(String customerId, String id)"),@ApiMethod(methodName="find",description="Finds a Subscription by id",signatures="com.braintreegateway.Subscription find(String id)"),@ApiMethod(methodName="retryCharge",signatures={"com.braintreegateway.Result<com.braintreegateway.Transaction> retryCharge(String subscriptionId)","com.braintreegateway.Result<com.braintreegateway.Transaction> retryCharge(String subscriptionId, java.math.BigDecimal amount)","com.braintreegateway.Result<com.braintreegateway.Transaction> retryCharge(String subscriptionId, Boolean submitForSettlement)","com.braintreegateway.Result<com.braintreegateway.Transaction> retryCharge(String subscriptionId, java.math.BigDecimal amount, Boolean submitForSettlement)"}),@ApiMethod(methodName="search",description="Search for a Subscription",signatures="com.braintreegateway.ResourceCollection<com.braintreegateway.Subscription> search(com.braintreegateway.SubscriptionSearchRequest searchRequest)"),@ApiMethod(methodName="update",description="Updates a Subscription",signatures="com.braintreegateway.Result<com.braintreegateway.Subscription> update(String id, com.braintreegateway.SubscriptionRequest request)")},aliases={}) @UriParams @Configurer(extended=true) public final class SubscriptionGatewayEndpointConfiguration extends BraintreeConfiguration
Camel endpoint configuration forSubscriptionGateway
.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionGatewayEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getAmount()
String
getCustomerId()
String
getId()
com.braintreegateway.SubscriptionRequest
getRequest()
com.braintreegateway.SubscriptionSearchRequest
getSearchRequest()
Boolean
getSubmitForSettlement()
String
getSubscriptionId()
void
setAmount(BigDecimal amount)
void
setCustomerId(String customerId)
void
setId(String id)
void
setRequest(com.braintreegateway.SubscriptionRequest request)
void
setSearchRequest(com.braintreegateway.SubscriptionSearchRequest searchRequest)
void
setSubmitForSettlement(Boolean submitForSettlement)
void
setSubscriptionId(String subscriptionId)
-
Methods inherited from class org.apache.camel.component.braintree.BraintreeConfiguration
getAccessToken, getApiName, getEnvironment, getHttpLogLevel, getHttpLogName, getHttpReadTimeout, getMerchantId, getMethodName, getPrivateKey, getProxyHost, getProxyPort, getPublicKey, isLogHandlerEnabled, setAccessToken, setApiName, setEnvironment, setHttpLogLevel, setHttpLogName, setHttpReadTimeout, setLogHandlerEnabled, setMerchantId, setMethodName, setPrivateKey, setProxyHost, setProxyPort, setPublicKey
-
-
-
-
Method Detail
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getCustomerId
public String getCustomerId()
-
setCustomerId
public void setCustomerId(String customerId)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getRequest
public com.braintreegateway.SubscriptionRequest getRequest()
-
setRequest
public void setRequest(com.braintreegateway.SubscriptionRequest request)
-
getSearchRequest
public com.braintreegateway.SubscriptionSearchRequest getSearchRequest()
-
setSearchRequest
public void setSearchRequest(com.braintreegateway.SubscriptionSearchRequest searchRequest)
-
getSubmitForSettlement
public Boolean getSubmitForSettlement()
-
setSubmitForSettlement
public void setSubmitForSettlement(Boolean submitForSettlement)
-
getSubscriptionId
public String getSubscriptionId()
-
setSubscriptionId
public void setSubscriptionId(String subscriptionId)
-
-