OSID Logo
OSID Specifications
billing payment package
Version 3.1.0
Interfaceosid.billing.payment.Payment
Implementsosid.OsidObject
Used Byosid.billing.payment.PaymentAdminSession
osid.billing.payment.PaymentList
osid.billing.payment.PaymentLookupSession
Description

A Payment.

MethodgetPayerId
Description

Gets the payer Id.

Returnosid.id.Id the payer Id
Compliancemandatory This method must be implemented.
MethodgetPayer
Description

Gets the payer.

Returnosid.billing.payment.Payer the payer
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetCustomerId
Description

Gets the customer Id for which this payment applies.

Returnosid.id.Id the customer Id
Compliancemandatory This method must be implemented.
MethodgetCustomer
Description

Gets the customer for which this payment applies.

Returnosid.billing.Customer the customer
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetPeriodId
Description

Gets the billing period Id to which this payment applies.

Returnosid.id.Id the period Id
Compliancemandatory This method must be implemented.
MethodgetPeriod
Description

Gets the billing period to which this payment applied.

Returnosid.billing.Period the period
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetPaymentDate
Description

Gets the date the payment was made.

Returnosid.calendaring.DateTime the payment date
Compliancemandatory This method must be implemented.
MethodgetProcessDate
Description

Gets the date the payment was or will be processed.

Returnosid.calendaring.DateTime the process date
Compliancemandatory This method must be implemented.
MethodgetAmount
Description

Gets the amount of this payment.

Returnosid.financials.Currency the amount
Compliancemandatory This method must be implemented.
MethodgetPaymentRecord
Description

Gets the payment record corresponding to the given Payment record Type.This method is used to retrieve an object implementing the requested record. The paymentRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(paymentRecordType) is true.

Parametersosid.type.TypepaymentRecordType the type of payment record to retrieve
Returnosid.billing.payment.records.PaymentRecord the payment record
ErrorsNULL_ARGUMENT paymentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(paymentRecordType) is false
Compliancemandatory This method must be implemented.