OSID Logo
OSID Specifications
billing payment package
Version 3.1.0
Interfaceosid.billing.payment.PayerForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
Implemented Byosid.billing.payment.batch.PayerBatchForm
Used Byosid.billing.payment.PayerAdminSession
Description

This is the form for creating and updating Payers. Like all OsidForms, various data elements may be set here for use in the create and update methods in the PayerAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetCustomerMetadata
Description

Gets the metadata for a customer.

Returnosid.Metadata metadata for the customer
Compliancemandatory This method must be implemented.
MethodsetCustomer
Description

Sets the customer.

Parametersosid.id.IdcustomerId the new customer
ErrorsINVALID_ARGUMENT customerId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT customerId is null
Compliancemandatory This method must be implemented.
MethodclearCustomer
Description

Removes the customer.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetUsesActivityMetadata
Description

Gets the metadata for a financial activity based payer.

Returnosid.Metadata metadata for the activity flag
Compliancemandatory This method must be implemented.
MethodsetUsesActivity
Description

Sets the activity flag.

Parametersbooleanactivity the new activity flag
ErrorsINVALID_ARGUMENT activity is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearUsesActivity
Description

Removes the activity flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetUsesCashMetadata
Description

Gets the metadata for a cash payer.

Returnosid.Metadata metadata for the cash flag
Compliancemandatory This method must be implemented.
MethodsetUsesCash
Description

Sets the cash flag.

Parametersbooleancash the new cash flag
ErrorsINVALID_ARGUMENT cash is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearUsesCash
Description

Removes the cash flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCreditCardNumberMetadata
Description

Gets the metadata for the credit card number.

Returnosid.Metadata metadata for the credit card number
Compliancemandatory This method must be implemented.
MethodsetCreditCardNumber
Description

Sets the credit card number.

Parametersstringnumber the new number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT number is null
Compliancemandatory This method must be implemented.
MethodclearCreditCardNumber
Description

Clears the credit card number.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCreditCardExpirationMetadata
Description

Gets the metadata for the credit card expiration.

Returnosid.Metadata metadata for the credit card expiration
Compliancemandatory This method must be implemented.
MethodsetCreditCardExpiration
Description

Sets the credit card expiration.

Parametersosid.calendaring.DateTimedate the new expiration date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearCreditCardExpiration
Description

Clears the credit card expiration.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCreditCardCodeMetadata
Description

Gets the metadata for the credit card code.

Returnosid.Metadata metadata for the credit card code
Compliancemandatory This method must be implemented.
MethodsetCreditCardCode
Description

Sets the credit card code.

Parametersstringcode the new code
ErrorsINVALID_ARGUMENT code is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT code is null
Compliancemandatory This method must be implemented.
MethodclearCreditCardCode
Description

Clears the credit card code.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetBankRoutingNumberMetadata
Description

Gets the metadata for the bank routing number.

Returnosid.Metadata metadata for the bank routing number
Compliancemandatory This method must be implemented.
MethodsetBankRoutingNumber
Description

Sets the bank routing number.

Parametersstringnumber the new number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT number is null
Compliancemandatory This method must be implemented.
MethodclearBankRoutingNumber
Description

Clears the bank routing number.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetBankAccountNumberMetadata
Description

Gets the metadata for the bank account number.

Returnosid.Metadata metadata for the bank account number
Compliancemandatory This method must be implemented.
MethodsetBankAccountNumber
Description

Sets the bank account number.

Parametersstringnumber the new number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT number is null
Compliancemandatory This method must be implemented.
MethodclearBankAccountNumber
Description

Clears the bank account number.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetPayerFormRecord
Description

Gets the PayerFormRecord corresponding to the given payer record Type.

Parametersosid.type.TypepayerRecordType a payer record type
Returnosid.billing.payment.records.PayerFormRecord the payer form record
ErrorsNULL_ARGUMENT payerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(payerRecordType) is false
Compliancemandatory This method must be implemented.