View source
<?php
namespace Drupal\commerce_square;
use SquareConnect\Model\ChargeRequest;
final class IntegrationChargeRequest extends ChargeRequest {
public static $swaggerTypes = [
'idempotency_key' => 'string',
'amount_money' => '\\SquareConnect\\Model\\Money',
'card_nonce' => 'string',
'customer_card_id' => 'string',
'delay_capture' => 'bool',
'reference_id' => 'string',
'note' => 'string',
'customer_id' => 'string',
'billing_address' => '\\SquareConnect\\Model\\Address',
'shipping_address' => '\\SquareConnect\\Model\\Address',
'buyer_email_address' => 'string',
'order_id' => 'string',
'additional_recipients' => '\\SquareConnect\\Model\\AdditionalRecipient[]',
'verification_token' => 'string',
'integration_id' => 'string',
];
public static $attributeMap = [
'idempotency_key' => 'idempotency_key',
'amount_money' => 'amount_money',
'card_nonce' => 'card_nonce',
'customer_card_id' => 'customer_card_id',
'delay_capture' => 'delay_capture',
'reference_id' => 'reference_id',
'note' => 'note',
'customer_id' => 'customer_id',
'billing_address' => 'billing_address',
'shipping_address' => 'shipping_address',
'buyer_email_address' => 'buyer_email_address',
'order_id' => 'order_id',
'additional_recipients' => 'additional_recipients',
'verification_token' => 'verification_token',
'integration_id' => 'integration_id',
];
public static $setters = [
'idempotency_key' => 'setIdempotencyKey',
'amount_money' => 'setAmountMoney',
'card_nonce' => 'setCardNonce',
'customer_card_id' => 'setCustomerCardId',
'delay_capture' => 'setDelayCapture',
'reference_id' => 'setReferenceId',
'note' => 'setNote',
'customer_id' => 'setCustomerId',
'billing_address' => 'setBillingAddress',
'shipping_address' => 'setShippingAddress',
'buyer_email_address' => 'setBuyerEmailAddress',
'order_id' => 'setOrderId',
'additional_recipients' => 'setAdditionalRecipients',
'verification_token' => 'setVerificationToken',
'integration_id' => 'setIntegrationId',
];
public static $getters = [
'idempotency_key' => 'getIdempotencyKey',
'amount_money' => 'getAmountMoney',
'card_nonce' => 'getCardNonce',
'customer_card_id' => 'getCustomerCardId',
'delay_capture' => 'getDelayCapture',
'reference_id' => 'getReferenceId',
'note' => 'getNote',
'customer_id' => 'getCustomerId',
'billing_address' => 'getBillingAddress',
'shipping_address' => 'getShippingAddress',
'buyer_email_address' => 'getBuyerEmailAddress',
'order_id' => 'getOrderId',
'additional_recipients' => 'getAdditionalRecipients',
'verification_token' => 'getVerificationToken',
'integration_id' => 'getIntegrationId',
];
protected $integration_id;
public function setIntegrationId($integration_id) {
$this->integration_id = $integration_id;
}
public function getIntegrationId() {
return $this->integration_id;
}
}