class ProcessOut::Client
Attributes
Public Class Methods
# File lib/processout.rb, line 45 def initialize(project_id, project_secret) @host = "https://api.processout.com" @project_id = project_id @project_secret = project_secret end
Public Instance Methods
Create a new Activity
instance
# File lib/processout.rb, line 53 def activity(data = {}) obj = Activity.new(self, data) end
Create a new Addon
instance
# File lib/processout.rb, line 58 def addon(data = {}) obj = Addon.new(self, data) end
Create a new APIRequest
instance
# File lib/processout.rb, line 63 def api_request(data = {}) obj = APIRequest.new(self, data) end
Create a new APIVersion
instance
# File lib/processout.rb, line 68 def api_version(data = {}) obj = APIVersion.new(self, data) end
Create a new Card
instance
# File lib/processout.rb, line 73 def card(data = {}) obj = Card.new(self, data) end
Create a new CardInformation
instance
# File lib/processout.rb, line 78 def card_information(data = {}) obj = CardInformation.new(self, data) end
Create a new Coupon
instance
# File lib/processout.rb, line 83 def coupon(data = {}) obj = Coupon.new(self, data) end
Create a new Customer
instance
# File lib/processout.rb, line 88 def customer(data = {}) obj = Customer.new(self, data) end
Create a new CustomerAction
instance
# File lib/processout.rb, line 153 def customer_action(data = {}) obj = CustomerAction.new(self, data) end
Create a new Discount
instance
# File lib/processout.rb, line 98 def discount(data = {}) obj = Discount.new(self, data) end
Create a new DunningAction
instance
# File lib/processout.rb, line 158 def dunning_action(data = {}) obj = DunningAction.new(self, data) end
Create a new Event
instance
# File lib/processout.rb, line 103 def event(data = {}) obj = Event.new(self, data) end
Create a new Gateway
instance
# File lib/processout.rb, line 108 def gateway(data = {}) obj = Gateway.new(self, data) end
Create a new GatewayConfiguration
instance
# File lib/processout.rb, line 113 def gateway_configuration(data = {}) obj = GatewayConfiguration.new(self, data) end
Create a new Invoice
instance
# File lib/processout.rb, line 118 def invoice(data = {}) obj = Invoice.new(self, data) end
Create a new InvoiceDetail
instance
# File lib/processout.rb, line 148 def invoice_detail(data = {}) obj = InvoiceDetail.new(self, data) end
Create a new InvoiceDevice
instance
# File lib/processout.rb, line 138 def invoice_device(data = {}) obj = InvoiceDevice.new(self, data) end
Create a new InvoiceExternalFraudTools
instance
# File lib/processout.rb, line 128 def invoice_external_fraud_tools(data = {}) obj = InvoiceExternalFraudTools.new(self, data) end
Create a new InvoiceRisk
instance
# File lib/processout.rb, line 133 def invoice_risk(data = {}) obj = InvoiceRisk.new(self, data) end
Create a new InvoiceShipping
instance
# File lib/processout.rb, line 143 def invoice_shipping(data = {}) obj = InvoiceShipping.new(self, data) end
Create a new InvoiceTax
instance
# File lib/processout.rb, line 123 def invoice_tax(data = {}) obj = InvoiceTax.new(self, data) end
Create a new PaymentDataNetworkAuthentication
instance
# File lib/processout.rb, line 213 def payment_data_network_authentication(data = {}) obj = PaymentDataNetworkAuthentication.new(self, data) end
Create a new PaymentDataThreeDSAuthentication
instance
# File lib/processout.rb, line 218 def payment_data_three_ds_authentication(data = {}) obj = PaymentDataThreeDSAuthentication.new(self, data) end
Create a new PaymentDataThreeDSRequest
instance
# File lib/processout.rb, line 208 def payment_data_three_ds_request(data = {}) obj = PaymentDataThreeDSRequest.new(self, data) end
Create a new Payout
instance
# File lib/processout.rb, line 163 def payout(data = {}) obj = Payout.new(self, data) end
Create a new PayoutItem
instance
# File lib/processout.rb, line 168 def payout_item(data = {}) obj = PayoutItem.new(self, data) end
Create a new Plan
instance
# File lib/processout.rb, line 173 def plan(data = {}) obj = Plan.new(self, data) end
Create a new Product
instance
# File lib/processout.rb, line 178 def product(data = {}) obj = Product.new(self, data) end
Create a new Project
instance
# File lib/processout.rb, line 183 def project(data = {}) obj = Project.new(self, data) end
Create a new Refund
instance
# File lib/processout.rb, line 188 def refund(data = {}) obj = Refund.new(self, data) end
Create a new Subscription
instance
# File lib/processout.rb, line 193 def subscription(data = {}) obj = Subscription.new(self, data) end
Create a new ThreeDS
instance
# File lib/processout.rb, line 203 def three_ds(data = {}) obj = ThreeDS.new(self, data) end
Create a new Token
instance
# File lib/processout.rb, line 93 def token(data = {}) obj = Token.new(self, data) end
Create a new Transaction
instance
# File lib/processout.rb, line 198 def transaction(data = {}) obj = Transaction.new(self, data) end
Create a new TransactionOperation
instance
# File lib/processout.rb, line 223 def transaction_operation(data = {}) obj = TransactionOperation.new(self, data) end
Create a new Webhook
instance
# File lib/processout.rb, line 228 def webhook(data = {}) obj = Webhook.new(self, data) end
Create a new WebhookEndpoint
instance
# File lib/processout.rb, line 233 def webhook_endpoint(data = {}) obj = WebhookEndpoint.new(self, data) end