Package software.xdev.brevo.model
Class CreatePaymentRequest
java.lang.Object
software.xdev.brevo.model.CreatePaymentRequest
CreatePaymentRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_configuration(ModelConfiguration _configuration) description(String description) booleangetCart()Get cartGet _configurationBrevo ID of the contact requested to pay.description of payment requestGet notificationReference of the payment request, it will appear on the payment page.inthashCode()notification(Notification notification) voidvoidsetConfiguration(ModelConfiguration _configuration) voidsetContactId(Long contactId) voidsetDescription(String description) voidsetNotification(Notification notification) voidsetReference(String reference) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_REFERENCE
- See Also:
-
JSON_PROPERTY_CART
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NOTIFICATION
- See Also:
-
JSON_PROPERTY_CONFIGURATION
- See Also:
-
-
Constructor Details
-
CreatePaymentRequest
public CreatePaymentRequest()
-
-
Method Details
-
reference
-
getReference
Reference of the payment request, it will appear on the payment page.- Returns:
- reference
-
setReference
-
cart
-
getCart
Get cart- Returns:
- cart
-
setCart
-
contactId
-
getContactId
Brevo ID of the contact requested to pay.- Returns:
- contactId
-
setContactId
-
description
-
getDescription
description of payment request- Returns:
- description
-
setDescription
-
notification
-
getNotification
Get notification- Returns:
- notification
-
setNotification
-
_configuration
-
getConfiguration
Get _configuration- Returns:
- _configuration
-
setConfiguration
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-