Package com.xero.models.accounting
Class PaymentService
java.lang.Object
com.xero.models.accounting.PaymentService
public class PaymentService extends Object
PaymentService
-
Constructor Summary
Constructors Constructor Description PaymentService() -
Method Summary
Modifier and Type Method Description PaymentServiceaddValidationErrorsItem(ValidationError validationErrorsItem)booleanequals(Object o)UUIDgetPaymentServiceID()Xero identifierStringgetPaymentServiceName()Name of payment serviceStringgetPaymentServiceType()This will always be CUSTOM for payment services created via the API.StringgetPaymentServiceUrl()The custom payment URLStringgetPayNowText()The text displayed on the Pay Now button in Xero Online Invoicing.List<ValidationError>getValidationErrors()Displays array of validation error messages from the APIinthashCode()PaymentServicepaymentServiceID(UUID paymentServiceID)PaymentServicepaymentServiceName(String paymentServiceName)PaymentServicepaymentServiceType(String paymentServiceType)PaymentServicepaymentServiceUrl(String paymentServiceUrl)PaymentServicepayNowText(String payNowText)voidsetPaymentServiceID(UUID paymentServiceID)voidsetPaymentServiceName(String paymentServiceName)voidsetPaymentServiceType(String paymentServiceType)voidsetPaymentServiceUrl(String paymentServiceUrl)voidsetPayNowText(String payNowText)voidsetValidationErrors(List<ValidationError> validationErrors)StringtoString()PaymentServicevalidationErrors(List<ValidationError> validationErrors)
-
Constructor Details
-
PaymentService
public PaymentService()
-
-
Method Details
-
paymentServiceID
-
getPaymentServiceID
Xero identifier- Returns:
- paymentServiceID
-
setPaymentServiceID
-
paymentServiceName
-
getPaymentServiceName
Name of payment service- Returns:
- paymentServiceName
-
setPaymentServiceName
-
paymentServiceUrl
-
getPaymentServiceUrl
The custom payment URL- Returns:
- paymentServiceUrl
-
setPaymentServiceUrl
-
payNowText
-
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
-
paymentServiceType
-
getPaymentServiceType
This will always be CUSTOM for payment services created via the API.- Returns:
- paymentServiceType
-
setPaymentServiceType
-
validationErrors
-
addValidationErrorsItem
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
-
equals
-
hashCode
public int hashCode() -
toString
-