NAME

Business::CyberSource::RequestPart::Item - Item Helper Class

VERSION

version 0.010008

EXTENDS

Business::CyberSource::MessagePart

ATTRIBUTES

unit_price

Per-item price of the product. You must include either this field or total in your request.

quantity

The default is 1. For ccAuthService and ccCaptureService, this field is required if product_code is not default or one of the values related to shipping and/or handling.

product_code

Type of product. This value is used to determine the category that the product is in.

product_name

For ccAuthService and ccCaptureService, this field is required if product_code is not default or one of the values related to shipping and/or handling.

product_sku

Identification code for the product. For ccAuthService and ccCaptureService, this field is required if product_code is not default or one of the values related to shipping and/or handling.

product_risk

tax_amount

Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. For example (in CyberSource notation):

You include the following offer lines in your request:

item_0_unitPrice=10.00
item_0_quantity=1
item_0_taxAmount=0.80
item_1_unitPrice=20.00
item_1_quantity=1
item_1_taxAmount=1.60

The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included.

tax_rate

national_tax

invoice_number

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/hostgator/business-cybersource/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Caleb Cushing <xenoterracide@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Caleb Cushing <xenoterracide@gmail.com>.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)