Class: PayPal::SDK::Invoice::DataTypes::InvoiceType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Invoice::DataTypes::InvoiceType
- Defined in:
- lib/paypal-sdk/invoice/data_types.rb
Overview
Invoice details about the merchant, payer, totals and terms.
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
# File 'lib/paypal-sdk/invoice/data_types.rb', line 231 def self.load_members # Merchant's email. object_of :merchantEmail, String, :required => true # Email to which the invoice will be sent. object_of :payerEmail, String, :required => true # Unique identifier for the invoice. object_of :number, String # Company contact information of the merchant company sending the invoice. object_of :merchantInfo, BusinessInfoType # List of items included in this invoice. object_of :itemList, InvoiceItemListType, :required => true # If True, indicates tax calculated after discount. Default is False. object_of :taxCalculatedAfterDiscount, Boolean # Currency used for all invoice item amounts and totals. object_of :currencyCode, String, :required => true # Date on which the invoice will be enabled. object_of :invoiceDate, DateTime # Date on which the invoice payment is due. object_of :dueDate, DateTime # Terms by which the invoice payment is due. object_of :paymentTerms, PaymentTermsType, :required => true # A discount percent applied to the invoice, if any. object_of :discountPercent, Float # A discount amount applied to the invoice, if any. If DiscountPercent is provided, DiscountAmount is ignored. object_of :discountAmount, Float # If true, indicates tax included in item amount. If present, this setting will supersede the merchant’s default setting. object_of :taxInclusive, Boolean # General terms for the invoice. object_of :terms, String # Note to the payer company. object_of :note, String # Memo for book keeping that is private to the Merchant. object_of :merchantMemo, String # Details of the receipt. Applicable only when invoice is a receipt. object_of :receiptDetails, String # Billing information for the payer. object_of :billingInfo, BusinessInfoType # Shipping information for the payer. object_of :shippingInfo, BusinessInfoType # Cost of shipping. object_of :shippingAmount, Float # Name of the applicable tax on shipping cost, if any. object_of :shippingTaxName, String # Rate of the applicable tax on shipping cost, if any. object_of :shippingTaxRate, Float # The external image URL of the invoice's logo, if any object_of :logoUrl, String # BN code for tracking transactions with a particular partner. object_of :referrerCode, String # Label used to display custom amount value. If a value is entered for customAmountLabel, then customAmountValue cannot be empty. object_of :customAmountLabel, String # Value of custom amount. If a value is entered for customAmountValue, then customAmountLabel cannot be empty. object_of :customAmountValue, Float end |