Class: Calendly::InviteePayment

Inherits:
Object
  • Object
show all
Includes:
ModelUtils
Defined in:
lib/calendly/models/invitee_payment.rb

Overview

Calendly's invitee payment model.

Constant Summary

Constants included from ModelUtils

ModelUtils::UUID_FORMAT

Instance Attribute Summary collapse

Method Summary

Methods included from ModelUtils

#client, #id, included, #initialize, #inspect

Instance Attribute Details

#amount ⇒ Object

@return The amount of the payment.



15
16
17
# File 'lib/calendly/models/invitee_payment.rb', line 15

def amount
  @amount
end

#currency ⇒ String

Returns The currency format that the payment is in.

Returns:

  • (String) —

    The currency format that the payment is in.



18
19
20
# File 'lib/calendly/models/invitee_payment.rb', line 18

def currency
  @currency
end

#external_id ⇒ String

Returns Unique identifier for the payment.

Returns:

  • (String) —

    Unique identifier for the payment.



9
10
11
# File 'lib/calendly/models/invitee_payment.rb', line 9

def external_id
  @external_id
end

#provider ⇒ String

Returns Payment provider.

Returns:

  • (String) —

    Payment provider.



12
13
14
# File 'lib/calendly/models/invitee_payment.rb', line 12

def provider
  @provider
end

#successful ⇒ Boolean

Returns Indicates whether the payment was successfully processed.

Returns:

  • (Boolean) —

    Indicates whether the payment was successfully processed.



24
25
26
# File 'lib/calendly/models/invitee_payment.rb', line 24

def successful
  @successful
end

#terms ⇒ String

Returns Terms of the payment.

Returns:

  • (String) —

    Terms of the payment.



21
22
23
# File 'lib/calendly/models/invitee_payment.rb', line 21

def terms
  @terms
end