Package com.xero.models.accounting
Class PaymentService
java.lang.Object
com.xero.models.accounting.PaymentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValidationErrorsItem(ValidationError validationErrorsItem) Displays array of validation error messages from the APIbooleanXero identifierName of payment serviceThis will always be CUSTOM for payment services created via the API.The custom payment URLThe text displayed on the Pay Now button in Xero Online Invoicing.Displays array of validation error messages from the APIinthashCode()paymentServiceID(UUID paymentServiceID) Xero identifierpaymentServiceName(String paymentServiceName) Name of payment servicepaymentServiceType(String paymentServiceType) This will always be CUSTOM for payment services created via the API.paymentServiceUrl(String paymentServiceUrl) The custom payment URLpayNowText(String payNowText) The text displayed on the Pay Now button in Xero Online Invoicing.voidsetPaymentServiceID(UUID paymentServiceID) Xero identifiervoidsetPaymentServiceName(String paymentServiceName) Name of payment servicevoidsetPaymentServiceType(String paymentServiceType) This will always be CUSTOM for payment services created via the API.voidsetPaymentServiceUrl(String paymentServiceUrl) The custom payment URLvoidsetPayNowText(String payNowText) The text displayed on the Pay Now button in Xero Online Invoicing.voidsetValidationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the APItoString()validationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the API
-
Constructor Details
-
PaymentService
public PaymentService()
-
-
Method Details
-
paymentServiceID
Xero identifier- Parameters:
paymentServiceID- UUID- Returns:
- PaymentService
-
getPaymentServiceID
-
setPaymentServiceID
Xero identifier- Parameters:
paymentServiceID- UUID
-
paymentServiceName
Name of payment service- Parameters:
paymentServiceName- String- Returns:
- PaymentService
-
getPaymentServiceName
-
setPaymentServiceName
Name of payment service- Parameters:
paymentServiceName- String
-
paymentServiceUrl
The custom payment URL- Parameters:
paymentServiceUrl- String- Returns:
- PaymentService
-
getPaymentServiceUrl
-
setPaymentServiceUrl
The custom payment URL- Parameters:
paymentServiceUrl- String
-
payNowText
The text displayed on the Pay Now button in Xero Online Invoicing. If this is not set it will default to Pay by credit card- Parameters:
payNowText- String- Returns:
- PaymentService
-
getPayNowText
The text displayed on the Pay Now button in Xero Online Invoicing. If this is not set it will default to Pay by credit card- Returns:
- payNowText
-
setPayNowText
The text displayed on the Pay Now button in Xero Online Invoicing. If this is not set it will default to Pay by credit card- Parameters:
payNowText- String
-
paymentServiceType
This will always be CUSTOM for payment services created via the API.- Parameters:
paymentServiceType- String- Returns:
- PaymentService
-
getPaymentServiceType
This will always be CUSTOM for payment services created via the API.- Returns:
- paymentServiceType
-
setPaymentServiceType
This will always be CUSTOM for payment services created via the API.- Parameters:
paymentServiceType- String
-
validationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- PaymentService
-
addValidationErrorsItem
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- PaymentService
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
equals
-
hashCode
-
toString
-