[][src]Trait stripe::Object

pub trait Object {
    type Id;
    fn id(&self) -> Self::Id;
fn object(&self) -> &'static str; }

Implemented by types which represent stripe objects.

Associated Types

type Id

The canonical id type for this object.

Loading content...

Required methods

fn id(&self) -> Self::Id

The id of the object.

fn object(&self) -> &'static str

The object's type, typically represented in wire format as the object property.

Loading content...

Implementors

impl Object for BalanceTransactionSource[src]

type Id = BalanceTransactionSourceId

impl Object for PaymentSource[src]

type Id = PaymentSourceId

impl Object for PayoutDestination[src]

type Id = PayoutDestinationId

impl Object for Account[src]

type Id = AccountId

impl Object for AlipayAccount[src]

type Id = AlipayAccountId

impl Object for Application[src]

type Id = ()

impl Object for ApplicationFee[src]

type Id = ApplicationFeeId

impl Object for ApplicationFeeRefund[src]

type Id = ApplicationFeeRefundId

impl Object for Balance[src]

type Id = ()

impl Object for BalanceTransaction[src]

type Id = BalanceTransactionId

impl Object for BankAccount[src]

type Id = BankAccountId

impl Object for Card[src]

type Id = CardId

impl Object for Charge[src]

type Id = ChargeId

impl Object for CheckoutSession[src]

type Id = CheckoutSessionId

impl Object for ConnectCollectionTransfer[src]

type Id = ()

impl Object for Coupon[src]

type Id = CouponId

impl Object for Customer[src]

type Id = CustomerId

impl Object for Discount[src]

type Id = ()

impl Object for Dispute[src]

type Id = DisputeId

impl Object for File[src]

type Id = FileId

impl Object for FileLink[src]

type Id = FileLinkId

impl Object for Invoice[src]

type Id = InvoiceId

impl Object for InvoiceItem[src]

type Id = InvoiceItemId

impl Object for InvoiceLineItem[src]

type Id = InvoiceLineItemId

impl Object for IssuingAuthorization[src]

type Id = IssuingAuthorizationId

impl Object for IssuingCard[src]

type Id = IssuingCardId

impl Object for IssuingCardholder[src]

type Id = IssuingCardholderId

impl Object for IssuingDispute[src]

type Id = IssuingDisputeId

impl Object for IssuingTransaction[src]

type Id = IssuingTransactionId

impl Object for Order[src]

type Id = OrderId

impl Object for OrderItem[src]

type Id = ()

impl Object for OrderReturn[src]

type Id = OrderReturnId

impl Object for PaymentIntent[src]

type Id = PaymentIntentId

impl Object for PaymentMethod[src]

type Id = PaymentMethodId

impl Object for Payout[src]

type Id = PayoutId

impl Object for Person[src]

type Id = PersonId

impl Object for Plan[src]

type Id = PlanId

impl Object for PlatformTaxFee[src]

type Id = ()

impl Object for Product[src]

type Id = ProductId

impl Object for Recipient[src]

type Id = RecipientId

impl Object for Refund[src]

type Id = RefundId

impl Object for ReserveTransaction[src]

type Id = ()

impl Object for Review[src]

type Id = ReviewId

impl Object for Rule[src]

type Id = String

impl Object for ScheduledQueryRun[src]

type Id = ScheduledQueryRunId

impl Object for SetupIntent[src]

type Id = SetupIntentId

impl Object for Sku[src]

type Id = SkuId

impl Object for Source[src]

type Id = SourceId

impl Object for Subscription[src]

type Id = SubscriptionId

impl Object for SubscriptionItem[src]

type Id = SubscriptionItemId

impl Object for SubscriptionSchedule[src]

type Id = SubscriptionScheduleId

impl Object for TaxId[src]

type Id = TaxIdId

impl Object for TaxRate[src]

type Id = TaxRateId

impl Object for Token[src]

type Id = TokenId

impl Object for Topup[src]

type Id = TopupId

impl Object for Transfer[src]

type Id = TransferId

impl Object for TransferReversal[src]

type Id = TransferReversalId

impl Object for WebhookEndpoint[src]

type Id = WebhookEndpointId

Loading content...