github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/Level3SummaryData.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  // Level3SummaryData represents class Level3SummaryData
     7  //
     8  // Deprecated: Use ShoppingCart.amountBreakdown instead
     9  type Level3SummaryData struct {
    10  	// Deprecated: Use ShoppingCart.amountBreakdown with type DISCOUNT instead
    11  	DiscountAmount *int64 `json:"discountAmount,omitempty"`
    12  	// Deprecated: Use ShoppingCart.amountBreakdown with type DUTY instead
    13  	DutyAmount     *int64 `json:"dutyAmount,omitempty"`
    14  	// Deprecated: Use ShoppingCart.amountBreakdown with type SHIPPING instead
    15  	ShippingAmount *int64 `json:"shippingAmount,omitempty"`
    16  }
    17  
    18  // NewLevel3SummaryData constructs a new Level3SummaryData
    19  func NewLevel3SummaryData() *Level3SummaryData {
    20  	return &Level3SummaryData{}
    21  }