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

     1  // This class was auto-generated from the API references found at
     2  // https://epayments-api.developer-ingenico.com/
     3  
     4  package services
     5  
     6  import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"
     7  
     8  // PaymentContext represents class PaymentContext
     9  type PaymentContext struct {
    10  	AmountOfMoney  *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
    11  	CountryCode    *string                    `json:"countryCode,omitempty"`
    12  	IsInstallments *bool                      `json:"isInstallments,omitempty"`
    13  	IsRecurring    *bool                      `json:"isRecurring,omitempty"`
    14  }
    15  
    16  // NewPaymentContext constructs a new PaymentContext
    17  func NewPaymentContext() *PaymentContext {
    18  	return &PaymentContext{}
    19  }