yapstone-payments 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/README.md +203 -0
- data/Rakefile +10 -0
- data/docs/APM.md +29 -0
- data/docs/APMSpecInParameters.md +19 -0
- data/docs/Action.md +16 -0
- data/docs/Address.md +29 -0
- data/docs/Amount.md +21 -0
- data/docs/AuthResponse.md +19 -0
- data/docs/AuthTokenRequest.md +19 -0
- data/docs/AuthTokenResponse.md +17 -0
- data/docs/AuthenticationApi.md +58 -0
- data/docs/BankAccount.md +37 -0
- data/docs/BillingAddress.md +29 -0
- data/docs/BookingInfo.md +31 -0
- data/docs/CapturePaymentRequest.md +21 -0
- data/docs/Card.md +27 -0
- data/docs/CardResponse.md +21 -0
- data/docs/Consent.md +21 -0
- data/docs/CreditCardAuthResponse.md +25 -0
- data/docs/Customer.md +29 -0
- data/docs/CustomerData.md +19 -0
- data/docs/CustomerDetails.md +23 -0
- data/docs/Deposit.md +23 -0
- data/docs/DepositDetails.md +17 -0
- data/docs/DisburseLineItemsReq.md +19 -0
- data/docs/DisburseTransaction.md +19 -0
- data/docs/DisburseTransactionReq.md +17 -0
- data/docs/Disbursement.md +17 -0
- data/docs/DisbursementAllOf.md +17 -0
- data/docs/DisbursementDetails.md +17 -0
- data/docs/DisbursementRequest.md +16 -0
- data/docs/DisbursementRequests.md +17 -0
- data/docs/DisbursementResponse.md +17 -0
- data/docs/DisbursementsApi.md +138 -0
- data/docs/Error.md +25 -0
- data/docs/ErrorResponse.md +19 -0
- data/docs/Fields.md +17 -0
- data/docs/GovIdentification.md +29 -0
- data/docs/Guest.md +29 -0
- data/docs/GuestInfoResponse.md +19 -0
- data/docs/Href.md +17 -0
- data/docs/InlineResponse200.md +25 -0
- data/docs/InstallmentPlan.md +19 -0
- data/docs/Instrument.md +21 -0
- data/docs/InstrumentVerificationResponse.md +31 -0
- data/docs/KYC.md +21 -0
- data/docs/LeaseInfo.md +21 -0
- data/docs/LineItemDetails.md +25 -0
- data/docs/MarketplaceData.md +23 -0
- data/docs/Merketplace.md +17 -0
- data/docs/Money.md +19 -0
- data/docs/Name.md +27 -0
- data/docs/OfferingDetails.md +21 -0
- data/docs/OrderTransactions.md +25 -0
- data/docs/Payment.md +21 -0
- data/docs/PaymentCancelResponse.md +23 -0
- data/docs/PaymentCancelTransactionResponse.md +21 -0
- data/docs/PaymentDetails.md +29 -0
- data/docs/PaymentInstrument.md +27 -0
- data/docs/PaymentInstrumentCard.md +19 -0
- data/docs/PaymentInstrumentResponse.md +19 -0
- data/docs/PaymentPayment.md +27 -0
- data/docs/PaymentPaymentAllOf.md +27 -0
- data/docs/PaymentResponse.md +33 -0
- data/docs/PaymentsApi.md +447 -0
- data/docs/Phone.md +21 -0
- data/docs/ProcessPayment.md +29 -0
- data/docs/PropertyInfo.md +21 -0
- data/docs/PropertyInfoResponse.md +19 -0
- data/docs/RefundAction.md +16 -0
- data/docs/RefundCancelResponse.md +21 -0
- data/docs/RefundCancelTransactionResponse.md +19 -0
- data/docs/RefundRequest.md +25 -0
- data/docs/RefundResponse.md +29 -0
- data/docs/RefundStatus.md +16 -0
- data/docs/RefundTransactions.md +27 -0
- data/docs/RefundsApi.md +378 -0
- data/docs/RentalInfo.md +21 -0
- data/docs/Renter.md +29 -0
- data/docs/Resolution.md +17 -0
- data/docs/Result.md +21 -0
- data/docs/RiskStatus.md +17 -0
- data/docs/SanctionedEntities.md +19 -0
- data/docs/SearchApi.md +132 -0
- data/docs/SearchPaymentResponse.md +17 -0
- data/docs/StackTraceElement.md +25 -0
- data/docs/Status.md +16 -0
- data/docs/Throwable.md +21 -0
- data/docs/ToEntityRef.md +19 -0
- data/docs/Token.md +19 -0
- data/docs/TokenApi.md +134 -0
- data/docs/TokenReq.md +19 -0
- data/docs/TokenRequest.md +17 -0
- data/docs/TokenResponse.md +17 -0
- data/docs/Transaction.md +21 -0
- data/docs/TransactionResponse.md +27 -0
- data/docs/Triggers.md +21 -0
- data/docs/VacationRentalInfo.md +19 -0
- data/docs/VacationRentalInfoRequest.md +21 -0
- data/docs/VerifyInstrumentRequest.md +21 -0
- data/git_push.sh +55 -0
- data/lib/yapstone-payments.rb +137 -0
- data/lib/yapstone-payments/api/authentication_api.rb +92 -0
- data/lib/yapstone-payments/api/disbursements_api.rb +202 -0
- data/lib/yapstone-payments/api/payments_api.rb +598 -0
- data/lib/yapstone-payments/api/refunds_api.rb +507 -0
- data/lib/yapstone-payments/api/search_api.rb +187 -0
- data/lib/yapstone-payments/api/token_api.rb +182 -0
- data/lib/yapstone-payments/api_client.rb +386 -0
- data/lib/yapstone-payments/api_error.rb +57 -0
- data/lib/yapstone-payments/configuration.rb +249 -0
- data/lib/yapstone-payments/models/action.rb +39 -0
- data/lib/yapstone-payments/models/address.rb +258 -0
- data/lib/yapstone-payments/models/amount.rb +218 -0
- data/lib/yapstone-payments/models/apm.rb +292 -0
- data/lib/yapstone-payments/models/apm_spec_in_parameters.rb +208 -0
- data/lib/yapstone-payments/models/auth_response.rb +217 -0
- data/lib/yapstone-payments/models/auth_token_request.rb +205 -0
- data/lib/yapstone-payments/models/auth_token_response.rb +196 -0
- data/lib/yapstone-payments/models/bank_account.rb +347 -0
- data/lib/yapstone-payments/models/billing_address.rb +258 -0
- data/lib/yapstone-payments/models/booking_info.rb +266 -0
- data/lib/yapstone-payments/models/capture_payment_request.rb +252 -0
- data/lib/yapstone-payments/models/card.rb +247 -0
- data/lib/yapstone-payments/models/card_response.rb +217 -0
- data/lib/yapstone-payments/models/consent.rb +248 -0
- data/lib/yapstone-payments/models/credit_card_auth_response.rb +267 -0
- data/lib/yapstone-payments/models/customer.rb +256 -0
- data/lib/yapstone-payments/models/customer_data.rb +208 -0
- data/lib/yapstone-payments/models/customer_details.rb +226 -0
- data/lib/yapstone-payments/models/deposit.rb +228 -0
- data/lib/yapstone-payments/models/deposit_details.rb +199 -0
- data/lib/yapstone-payments/models/disburse_line_items_req.rb +208 -0
- data/lib/yapstone-payments/models/disburse_transaction.rb +208 -0
- data/lib/yapstone-payments/models/disburse_transaction_req.rb +199 -0
- data/lib/yapstone-payments/models/disbursement.rb +203 -0
- data/lib/yapstone-payments/models/disbursement_all_of.rb +197 -0
- data/lib/yapstone-payments/models/disbursement_details.rb +200 -0
- data/lib/yapstone-payments/models/disbursement_request.rb +187 -0
- data/lib/yapstone-payments/models/disbursement_requests.rb +198 -0
- data/lib/yapstone-payments/models/disbursement_response.rb +198 -0
- data/lib/yapstone-payments/models/error.rb +241 -0
- data/lib/yapstone-payments/models/error_response.rb +218 -0
- data/lib/yapstone-payments/models/fields.rb +196 -0
- data/lib/yapstone-payments/models/gov_identification.rb +292 -0
- data/lib/yapstone-payments/models/guest.rb +257 -0
- data/lib/yapstone-payments/models/guest_info_response.rb +208 -0
- data/lib/yapstone-payments/models/href.rb +196 -0
- data/lib/yapstone-payments/models/inline_response200.rb +232 -0
- data/lib/yapstone-payments/models/installment_plan.rb +208 -0
- data/lib/yapstone-payments/models/instrument.rb +250 -0
- data/lib/yapstone-payments/models/instrument_verification_response.rb +260 -0
- data/lib/yapstone-payments/models/kyc.rb +215 -0
- data/lib/yapstone-payments/models/lease_info.rb +218 -0
- data/lib/yapstone-payments/models/line_item_details.rb +236 -0
- data/lib/yapstone-payments/models/marketplace_data.rb +260 -0
- data/lib/yapstone-payments/models/merketplace.rb +197 -0
- data/lib/yapstone-payments/models/money.rb +207 -0
- data/lib/yapstone-payments/models/name.rb +248 -0
- data/lib/yapstone-payments/models/offering_details.rb +216 -0
- data/lib/yapstone-payments/models/order_transactions.rb +235 -0
- data/lib/yapstone-payments/models/payment.rb +216 -0
- data/lib/yapstone-payments/models/payment_cancel_response.rb +227 -0
- data/lib/yapstone-payments/models/payment_cancel_transaction_response.rb +218 -0
- data/lib/yapstone-payments/models/payment_details.rb +319 -0
- data/lib/yapstone-payments/models/payment_instrument.rb +277 -0
- data/lib/yapstone-payments/models/payment_instrument_card.rb +241 -0
- data/lib/yapstone-payments/models/payment_instrument_response.rb +205 -0
- data/lib/yapstone-payments/models/payment_payment.rb +257 -0
- data/lib/yapstone-payments/models/payment_payment_all_of.rb +250 -0
- data/lib/yapstone-payments/models/payment_response.rb +275 -0
- data/lib/yapstone-payments/models/phone.rb +218 -0
- data/lib/yapstone-payments/models/process_payment.rb +304 -0
- data/lib/yapstone-payments/models/property_info.rb +216 -0
- data/lib/yapstone-payments/models/property_info_response.rb +207 -0
- data/lib/yapstone-payments/models/refund_action.rb +35 -0
- data/lib/yapstone-payments/models/refund_cancel_response.rb +217 -0
- data/lib/yapstone-payments/models/refund_cancel_transaction_response.rb +207 -0
- data/lib/yapstone-payments/models/refund_request.rb +285 -0
- data/lib/yapstone-payments/models/refund_response.rb +253 -0
- data/lib/yapstone-payments/models/refund_status.rb +90 -0
- data/lib/yapstone-payments/models/refund_transactions.rb +245 -0
- data/lib/yapstone-payments/models/rental_info.rb +215 -0
- data/lib/yapstone-payments/models/renter.rb +254 -0
- data/lib/yapstone-payments/models/resolution.rb +196 -0
- data/lib/yapstone-payments/models/result.rb +218 -0
- data/lib/yapstone-payments/models/risk_status.rb +196 -0
- data/lib/yapstone-payments/models/sanctioned_entities.rb +207 -0
- data/lib/yapstone-payments/models/search_payment_response.rb +196 -0
- data/lib/yapstone-payments/models/stack_trace_element.rb +238 -0
- data/lib/yapstone-payments/models/status.rb +91 -0
- data/lib/yapstone-payments/models/throwable.rb +220 -0
- data/lib/yapstone-payments/models/to_entity_ref.rb +207 -0
- data/lib/yapstone-payments/models/token.rb +207 -0
- data/lib/yapstone-payments/models/token_req.rb +206 -0
- data/lib/yapstone-payments/models/token_request.rb +196 -0
- data/lib/yapstone-payments/models/token_response.rb +196 -0
- data/lib/yapstone-payments/models/transaction.rb +218 -0
- data/lib/yapstone-payments/models/transaction_response.rb +248 -0
- data/lib/yapstone-payments/models/triggers.rb +216 -0
- data/lib/yapstone-payments/models/vacation_rental_info.rb +205 -0
- data/lib/yapstone-payments/models/vacation_rental_info_request.rb +215 -0
- data/lib/yapstone-payments/models/verify_instrument_request.rb +215 -0
- data/lib/yapstone-payments/version.rb +15 -0
- data/spec/api/authentication_api_spec.rb +48 -0
- data/spec/api/disbursements_api_spec.rb +69 -0
- data/spec/api/payments_api_spec.rb +146 -0
- data/spec/api/refunds_api_spec.rb +127 -0
- data/spec/api/search_api_spec.rb +66 -0
- data/spec/api/token_api_spec.rb +67 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/action_spec.rb +35 -0
- data/spec/models/address_spec.rb +77 -0
- data/spec/models/amount_spec.rb +53 -0
- data/spec/models/apm_spec.rb +81 -0
- data/spec/models/apm_spec_in_parameters_spec.rb +47 -0
- data/spec/models/auth_response_spec.rb +47 -0
- data/spec/models/auth_token_request_spec.rb +47 -0
- data/spec/models/auth_token_response_spec.rb +41 -0
- data/spec/models/bank_account_spec.rb +105 -0
- data/spec/models/billing_address_spec.rb +77 -0
- data/spec/models/booking_info_spec.rb +83 -0
- data/spec/models/capture_payment_request_spec.rb +57 -0
- data/spec/models/card_response_spec.rb +53 -0
- data/spec/models/card_spec.rb +71 -0
- data/spec/models/consent_spec.rb +57 -0
- data/spec/models/credit_card_auth_response_spec.rb +69 -0
- data/spec/models/customer_data_spec.rb +47 -0
- data/spec/models/customer_details_spec.rb +59 -0
- data/spec/models/customer_spec.rb +77 -0
- data/spec/models/deposit_details_spec.rb +41 -0
- data/spec/models/deposit_spec.rb +59 -0
- data/spec/models/disburse_line_items_req_spec.rb +47 -0
- data/spec/models/disburse_transaction_req_spec.rb +41 -0
- data/spec/models/disburse_transaction_spec.rb +47 -0
- data/spec/models/disbursement_all_of_spec.rb +41 -0
- data/spec/models/disbursement_details_spec.rb +41 -0
- data/spec/models/disbursement_request_spec.rb +35 -0
- data/spec/models/disbursement_requests_spec.rb +41 -0
- data/spec/models/disbursement_response_spec.rb +41 -0
- data/spec/models/disbursement_spec.rb +41 -0
- data/spec/models/error_response_spec.rb +47 -0
- data/spec/models/error_spec.rb +65 -0
- data/spec/models/fields_spec.rb +41 -0
- data/spec/models/gov_identification_spec.rb +81 -0
- data/spec/models/guest_info_response_spec.rb +47 -0
- data/spec/models/guest_spec.rb +77 -0
- data/spec/models/href_spec.rb +41 -0
- data/spec/models/inline_response200_spec.rb +65 -0
- data/spec/models/installment_plan_spec.rb +47 -0
- data/spec/models/instrument_spec.rb +57 -0
- data/spec/models/instrument_verification_response_spec.rb +83 -0
- data/spec/models/kyc_spec.rb +53 -0
- data/spec/models/lease_info_spec.rb +53 -0
- data/spec/models/line_item_details_spec.rb +65 -0
- data/spec/models/marketplace_data_spec.rb +63 -0
- data/spec/models/merketplace_spec.rb +41 -0
- data/spec/models/money_spec.rb +47 -0
- data/spec/models/name_spec.rb +71 -0
- data/spec/models/offering_details_spec.rb +53 -0
- data/spec/models/order_transactions_spec.rb +65 -0
- data/spec/models/payment_cancel_response_spec.rb +59 -0
- data/spec/models/payment_cancel_transaction_response_spec.rb +53 -0
- data/spec/models/payment_details_spec.rb +81 -0
- data/spec/models/payment_instrument_card_spec.rb +51 -0
- data/spec/models/payment_instrument_response_spec.rb +47 -0
- data/spec/models/payment_instrument_spec.rb +75 -0
- data/spec/models/payment_payment_all_of_spec.rb +71 -0
- data/spec/models/payment_payment_spec.rb +71 -0
- data/spec/models/payment_response_spec.rb +89 -0
- data/spec/models/payment_spec.rb +53 -0
- data/spec/models/phone_spec.rb +53 -0
- data/spec/models/process_payment_spec.rb +77 -0
- data/spec/models/property_info_response_spec.rb +47 -0
- data/spec/models/property_info_spec.rb +53 -0
- data/spec/models/refund_action_spec.rb +35 -0
- data/spec/models/refund_cancel_response_spec.rb +53 -0
- data/spec/models/refund_cancel_transaction_response_spec.rb +47 -0
- data/spec/models/refund_request_spec.rb +65 -0
- data/spec/models/refund_response_spec.rb +77 -0
- data/spec/models/refund_status_spec.rb +35 -0
- data/spec/models/refund_transactions_spec.rb +71 -0
- data/spec/models/rental_info_spec.rb +53 -0
- data/spec/models/renter_spec.rb +77 -0
- data/spec/models/resolution_spec.rb +41 -0
- data/spec/models/result_spec.rb +53 -0
- data/spec/models/risk_status_spec.rb +41 -0
- data/spec/models/sanctioned_entities_spec.rb +47 -0
- data/spec/models/search_payment_response_spec.rb +41 -0
- data/spec/models/stack_trace_element_spec.rb +65 -0
- data/spec/models/status_spec.rb +35 -0
- data/spec/models/throwable_spec.rb +53 -0
- data/spec/models/to_entity_ref_spec.rb +47 -0
- data/spec/models/token_req_spec.rb +47 -0
- data/spec/models/token_request_spec.rb +41 -0
- data/spec/models/token_response_spec.rb +41 -0
- data/spec/models/token_spec.rb +47 -0
- data/spec/models/transaction_response_spec.rb +71 -0
- data/spec/models/transaction_spec.rb +53 -0
- data/spec/models/triggers_spec.rb +53 -0
- data/spec/models/vacation_rental_info_request_spec.rb +53 -0
- data/spec/models/vacation_rental_info_spec.rb +47 -0
- data/spec/models/verify_instrument_request_spec.rb +53 -0
- data/spec/spec_helper.rb +111 -0
- data/yapstone-payments.gemspec +45 -0
- metadata +633 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
# Yapstone::InlineResponse200
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**issued_at** | **String** | | [optional]
|
8
|
+
**access_token** | **String** | | [optional]
|
9
|
+
**scope** | **String** | | [optional]
|
10
|
+
**expires_in** | **String** | | [optional]
|
11
|
+
**status** | **String** | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'Yapstone'
|
17
|
+
|
18
|
+
instance = Yapstone::InlineResponse200.new(issued_at: 1552575073094,
|
19
|
+
access_token: null,
|
20
|
+
scope: marketplace,
|
21
|
+
expires_in: 3599,
|
22
|
+
status: approved)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Yapstone::InstallmentPlan
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**installment_number** | **Integer** | The payment installment number represents the installment the customer is on. For example if you had a total of four payments, and the customer was on their third payment, the installmentNumber would be 3. | [optional]
|
8
|
+
**total_installments** | **Integer** | This is the overall number of installments a customer will be paying. For example, if the customer was paying four installments total, this number would be 4. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'Yapstone'
|
14
|
+
|
15
|
+
instance = Yapstone::InstallmentPlan.new(installment_number: 3,
|
16
|
+
total_installments: 4)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Instrument.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Yapstone::Instrument
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**type** | **String** | The type of payment instrument being used for the payment. | [optional]
|
8
|
+
**bank** | [**BankAccount**](BankAccount.md) | | [optional]
|
9
|
+
**card** | [**Card**](Card.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Yapstone'
|
15
|
+
|
16
|
+
instance = Yapstone::Instrument.new(type: null,
|
17
|
+
bank: null,
|
18
|
+
card: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Yapstone::InstrumentVerificationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**client_correlation_id** | **String** | | [optional]
|
8
|
+
**client_unique_transaction_id** | **String** | | [optional]
|
9
|
+
**verification_id** | **String** | | [optional]
|
10
|
+
**instrument_id** | **String** | | [optional]
|
11
|
+
**status** | **String** | | [optional]
|
12
|
+
**result** | **String** | | [optional]
|
13
|
+
**token** | [**Token**](Token.md) | | [optional]
|
14
|
+
**auth_response** | [**CreditCardAuthResponse**](CreditCardAuthResponse.md) | | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'Yapstone'
|
20
|
+
|
21
|
+
instance = Yapstone::InstrumentVerificationResponse.new(client_correlation_id: null,
|
22
|
+
client_unique_transaction_id: null,
|
23
|
+
verification_id: null,
|
24
|
+
instrument_id: null,
|
25
|
+
status: null,
|
26
|
+
result: null,
|
27
|
+
token: null,
|
28
|
+
auth_response: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/KYC.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Yapstone::KYC
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**mobile_phone** | [**Phone**](Phone.md) | | [optional]
|
8
|
+
**gov_identification** | [**GovIdentification**](GovIdentification.md) | | [optional]
|
9
|
+
**date_of_birth** | **String** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Yapstone'
|
15
|
+
|
16
|
+
instance = Yapstone::KYC.new(mobile_phone: null,
|
17
|
+
gov_identification: null,
|
18
|
+
date_of_birth: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/LeaseInfo.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Yapstone::LeaseInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**lease_duration** | **String** | The length of the lease. | [optional]
|
8
|
+
**lease_end** | **String** | Lease end date | [optional]
|
9
|
+
**lease_start** | **String** | Lease start date | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Yapstone'
|
15
|
+
|
16
|
+
instance = Yapstone::LeaseInfo.new(lease_duration: null,
|
17
|
+
lease_end: null,
|
18
|
+
lease_start: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Yapstone::LineItemDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**amount** | [**Amount**](Amount.md) | | [optional]
|
8
|
+
**line_item_id** | **String** | Each line item has its own unique identifier so you can call out a particular part of a transaction. | [optional]
|
9
|
+
**offering_name** | **String** | This is the name of the product that appears in a line item. It is referred to as an offering. | [optional]
|
10
|
+
**offering_id** | **String** | The unique identifier for the offering (product). | [optional]
|
11
|
+
**settlement_status** | **String** | This parameter indicates whether the refund has been settled for this line item or not. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'Yapstone'
|
17
|
+
|
18
|
+
instance = Yapstone::LineItemDetails.new(amount: null,
|
19
|
+
line_item_id: null,
|
20
|
+
offering_name: null,
|
21
|
+
offering_id: null,
|
22
|
+
settlement_status: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Yapstone::MarketplaceData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**asset_listing_id** | **String** | The ID of the asset that is being exchanged in relation to this payment, e.g. a vacation rental home or a long-term rental unit. This is used to determine what account the funds related to this payment should be disbursed to. | [optional]
|
8
|
+
**marketplace_type** | **String** | The type of marketplace in Yapstone's system. If you're unsure what marketplace type applies to you, please contact your Yapstone representative. | [optional]
|
9
|
+
**vacation_rental_info** | [**VacationRentalInfoRequest**](VacationRentalInfoRequest.md) | | [optional]
|
10
|
+
**rental_info** | [**RentalInfo**](RentalInfo.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'Yapstone'
|
16
|
+
|
17
|
+
instance = Yapstone::MarketplaceData.new(asset_listing_id: UP:AST:tg4CrrmOSria3RNCpPFAIQ,
|
18
|
+
marketplace_type: VACATION_RENT,
|
19
|
+
vacation_rental_info: null,
|
20
|
+
rental_info: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/Merketplace.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Yapstone::Merketplace
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**vacation_rental_info** | [**VacationRentalInfo**](VacationRentalInfo.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'Yapstone'
|
13
|
+
|
14
|
+
instance = Yapstone::Merketplace.new(vacation_rental_info: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Money.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Yapstone::Money
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**value** | **Integer** | Amount | [optional]
|
8
|
+
**currency** | **String** | Currency represented in ISO 4217 format. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'Yapstone'
|
14
|
+
|
15
|
+
instance = Yapstone::Money.new(value: null,
|
16
|
+
currency: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Name.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Yapstone::Name
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**additional_last** | **String** | This can be used to store an additional last name for the payer if they have more than one. | [optional]
|
8
|
+
**first** | **String** | Payer first name | [optional]
|
9
|
+
**honorific_prefix** | **String** | sample desc | [optional]
|
10
|
+
**honorific_suffix** | **String** | sample desc | [optional]
|
11
|
+
**last** | **String** | Payer last name | [optional]
|
12
|
+
**middle** | **String** | Payer middle name | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'Yapstone'
|
18
|
+
|
19
|
+
instance = Yapstone::Name.new(additional_last: null,
|
20
|
+
first: null,
|
21
|
+
honorific_prefix: null,
|
22
|
+
honorific_suffix: null,
|
23
|
+
last: null,
|
24
|
+
middle: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Yapstone::OfferingDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**amount** | [**Amount**](Amount.md) | | [optional]
|
8
|
+
**offering_name** | **String** | Optionally provide the name or ID of the offering being purchased in this line item. Name must match exactly with the Offering that has been previously onboarded in your marketplace. | [optional]
|
9
|
+
**offering_id** | **String** | Optionally provide the name or ID of the offering being purchased in this line item. IDs must correspond with an Offering that has been previously onboarded in your marketplace. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Yapstone'
|
15
|
+
|
16
|
+
instance = Yapstone::OfferingDetails.new(amount: null,
|
17
|
+
offering_name: null,
|
18
|
+
offering_id: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Yapstone::OrderTransactions
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transaction_id** | **String** | The unique identification number for a particular transaction. | [optional]
|
8
|
+
**line_items** | [**Array<LineItemDetails>**](LineItemDetails.md) | | [optional]
|
9
|
+
**transaction_status** | [**Status**](Status.md) | | [optional]
|
10
|
+
**transaction_type** | **String** | | [optional]
|
11
|
+
**auth_response** | [**CreditCardAuthResponse**](CreditCardAuthResponse.md) | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'Yapstone'
|
17
|
+
|
18
|
+
instance = Yapstone::OrderTransactions.new(transaction_id: null,
|
19
|
+
line_items: null,
|
20
|
+
transaction_status: null,
|
21
|
+
transaction_type: null,
|
22
|
+
auth_response: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/Payment.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Yapstone::Payment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**status** | [**Status**](Status.md) | | [optional]
|
8
|
+
**payment_instrument** | [**PaymentInstrumentResponse**](PaymentInstrumentResponse.md) | | [optional]
|
9
|
+
**transactions** | [**Array<OrderTransactions>**](OrderTransactions.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Yapstone'
|
15
|
+
|
16
|
+
instance = Yapstone::Payment.new(status: null,
|
17
|
+
payment_instrument: null,
|
18
|
+
transactions: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Yapstone::PaymentCancelResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payment_id** | **String** | Unique identifier for a cancelled payment. | [optional]
|
8
|
+
**client_unique_transaction_id** | **String** | clientUniqueTransactionId | [optional]
|
9
|
+
**status** | [**Status**](Status.md) | | [optional]
|
10
|
+
**transactions** | [**Array<PaymentCancelTransactionResponse>**](PaymentCancelTransactionResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'Yapstone'
|
16
|
+
|
17
|
+
instance = Yapstone::PaymentCancelResponse.new(payment_id: null,
|
18
|
+
client_unique_transaction_id: null,
|
19
|
+
status: null,
|
20
|
+
transactions: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Yapstone::PaymentCancelTransactionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transaction_id** | **String** | Transaction Id | [optional]
|
8
|
+
**response** | **String** | Response | [optional]
|
9
|
+
**refund_transactions** | [**Array<RefundTransactions>**](RefundTransactions.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Yapstone'
|
15
|
+
|
16
|
+
instance = Yapstone::PaymentCancelTransactionResponse.new(transaction_id: null,
|
17
|
+
response: null,
|
18
|
+
refund_transactions: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Yapstone::PaymentDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**line_items** | [**Array<OfferingDetails>**](OfferingDetails.md) | If your payment is for multiple line items, detail them here. The sum of your line item amounts must equal the amount given at the root of the request body. | [optional]
|
8
|
+
**authorization_type** | **String** | Used to list the authorization type. If it is PRIORAUTH this is a pre-authorization that places a hold on your customer's credit card for a specified dollar amount based on a projected sale amount. FINALAUTH is when you have completed all work checking the card and the customer and you are ready to actually withdraw the payment. | [optional] [default to 'FINALAUTH']
|
9
|
+
**custom_soft_descriptor** | **String** | The descriptor that will be shown on the customer's bank statement after the transaction has been authorized. | [optional]
|
10
|
+
**installment_plan** | [**InstallmentPlan**](InstallmentPlan.md) | | [optional]
|
11
|
+
**amount** | [**Amount**](Amount.md) | | [optional]
|
12
|
+
**payment_instrument** | [**PaymentInstrument**](PaymentInstrument.md) | | [optional]
|
13
|
+
**instrument_owner** | **Boolean** | This indicates whether it is true that the payment method a customer wants to use belongs to the customer or not. | [optional] [default to true]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'Yapstone'
|
19
|
+
|
20
|
+
instance = Yapstone::PaymentDetails.new(line_items: null,
|
21
|
+
authorization_type: null,
|
22
|
+
custom_soft_descriptor: MY COMPANY 800-555-1234,
|
23
|
+
installment_plan: null,
|
24
|
+
amount: null,
|
25
|
+
payment_instrument: null,
|
26
|
+
instrument_owner: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Yapstone::PaymentInstrument
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**apm** | [**APM**](APM.md) | | [optional]
|
8
|
+
**bank** | [**BankAccount**](BankAccount.md) | | [optional]
|
9
|
+
**card** | [**Card**](Card.md) | | [optional]
|
10
|
+
**token** | [**TokenReq**](TokenReq.md) | | [optional]
|
11
|
+
**kyc** | [**KYC**](KYC.md) | | [optional]
|
12
|
+
**instrument_type** | **String** | Credit Card(includes Debit card) or ACH or APM or of Wallet Type with possible values = androidpay, masterpass ,apple pay, paywithgoogle ,samsungpay, visacheckout | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'Yapstone'
|
18
|
+
|
19
|
+
instance = Yapstone::PaymentInstrument.new(apm: null,
|
20
|
+
bank: null,
|
21
|
+
card: null,
|
22
|
+
token: null,
|
23
|
+
kyc: null,
|
24
|
+
instrument_type: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Yapstone::PaymentInstrumentCard
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**card** | [**Card**](Card.md) | | [optional]
|
8
|
+
**instrument_type** | **String** | Credit Card(includes Debit card) or ACH or APM or of Wallet Type with possible values = androidpay, masterpass ,apple pay, paywithgoogle ,samsungpay, visacheckout | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'Yapstone'
|
14
|
+
|
15
|
+
instance = Yapstone::PaymentInstrumentCard.new(card: null,
|
16
|
+
instrument_type: CARD)
|
17
|
+
```
|
18
|
+
|
19
|
+
|