PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.models.Periodic Class Reference

Describes how the recurring transaction is related to previous/following transaction(s). More...

+ Inheritance diagram for de.wirecard.paymentsdk.models.Periodic:
+ Collaboration diagram for de.wirecard.paymentsdk.models.Periodic:

Public Instance Methods

 Periodic ()
 Constructor. More...
 
 Periodic (WirecardPeriodicType periodicType, WirecardSequenceType sequenceType)
 Constructor. More...
 
WirecardPeriodicType getPeriodicType ()
 Returns periodic type - indicates how and why a Payment occurs more than once. More...
 
void setPeriodicType (WirecardPeriodicType periodicType)
 Sets periodic type - indicates how and why a Payment occurs more than once. More...
 
WirecardSequenceType getSequenceType ()
 Returns sequence type - indicates the sequence of the recurring transaction. More...
 
void setSequenceType (WirecardSequenceType sequenceType)
 Sets sequence type - indicates the sequence of the recurring transaction. More...
 

Private Fields

WirecardPeriodicType periodicType
 Indicates how and why a Payment occurs more than once. More...
 
WirecardSequenceType sequenceType
 Indicates the sequence of the recurring transaction. More...
 

Detailed Description

Describes how the recurring transaction is related to previous/following transaction(s).

Constructor & Destructor Documentation

de.wirecard.paymentsdk.models.Periodic.Periodic ( )
inline

Constructor.

de.wirecard.paymentsdk.models.Periodic.Periodic ( WirecardPeriodicType  periodicType,
WirecardSequenceType  sequenceType 
)
inline

Constructor.

Parameters
periodicTypeIndicates how and why a Payment occurs more than once.
sequenceTypeIndicates the sequence of the recurring transaction.

Method Documentation

WirecardPeriodicType de.wirecard.paymentsdk.models.Periodic.getPeriodicType ( )
inline

Returns periodic type - indicates how and why a Payment occurs more than once.

Returns
periodicType
WirecardSequenceType de.wirecard.paymentsdk.models.Periodic.getSequenceType ( )
inline

Returns sequence type - indicates the sequence of the recurring transaction.

Returns
sequenceType
void de.wirecard.paymentsdk.models.Periodic.setPeriodicType ( WirecardPeriodicType  periodicType)
inline

Sets periodic type - indicates how and why a Payment occurs more than once.

Parameters
periodicType
void de.wirecard.paymentsdk.models.Periodic.setSequenceType ( WirecardSequenceType  sequenceType)
inline

Sets sequence type - indicates the sequence of the recurring transaction.

Parameters
sequenceType

Member Data Documentation

WirecardPeriodicType de.wirecard.paymentsdk.models.Periodic.periodicType
private

Indicates how and why a Payment occurs more than once.

It is intended as differentiation for the merchant's use. Which of the two periodic type is chosen depends on the merchant's business model.

See also
WirecardPeriodicType::INSTALLMENT indicates one in a set that completes a financial transaction.
WirecardPeriodicType::RECURRING indicates one in a set that occurs repeatedly, such as a subscription. Both
WirecardPeriodicType::INSTALLMENT and
WirecardPeriodicType::RECURRING transactions will be processed the same way.
WirecardSequenceType de.wirecard.paymentsdk.models.Periodic.sequenceType
private

Indicates the sequence of the recurring transaction.