github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/Installments.go (about)

     1  // This class was auto-generated from the API references found at
     2  // https://epayments-api.developer-ingenico.com/
     3  
     4  package payment
     5  
     6  import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"
     7  
     8  // Installments represents class Installments
     9  type Installments struct {
    10  	AmountOfMoneyPerInstallment *definitions.AmountOfMoney `json:"amountOfMoneyPerInstallment,omitempty"`
    11  	AmountOfMoneyTotal          *definitions.AmountOfMoney `json:"amountOfMoneyTotal,omitempty"`
    12  	FrequencyOfInstallments     *string                    `json:"frequencyOfInstallments,omitempty"`
    13  	InstallmentPlanCode         *int32                     `json:"installmentPlanCode,omitempty"`
    14  	InterestRate                *string                    `json:"interestRate,omitempty"`
    15  	NumberOfInstallments        *int64                     `json:"numberOfInstallments,omitempty"`
    16  }
    17  
    18  // NewInstallments constructs a new Installments
    19  func NewInstallments() *Installments {
    20  	return &Installments{}
    21  }