Class: PayPal::SDK::ButtonManagerRails::DataTypes::BillingPeriodDetailsType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/button_manager_rails/data_types.rb

Overview

Unit of meausre for billing cycle

Class Method Summary collapse

Class Method Details

.load_membersObject



2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 2639

def self.load_members
  # Unit of meausre for billing cycle 
  object_of :BillingPeriod, BillingPeriodType, :namespace => :ebl, :required => true
  # Number of BillingPeriod that make up one billing cycle 
  object_of :BillingFrequency, Integer, :namespace => :ebl, :required => true
  # Total billing cycles in this portion of the schedule 
  object_of :TotalBillingCycles, Integer, :namespace => :ebl
  # Amount to charge 
  object_of :Amount, BasicAmountType, :namespace => :ebl, :required => true
  # Additional shipping amount to charge 
  object_of :ShippingAmount, BasicAmountType, :namespace => :ebl
  # Additional tax amount to charge 
  object_of :TaxAmount, BasicAmountType, :namespace => :ebl
end