Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 156
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-fe97f820471b725722897539252e7444af7490c5a444a2e9304f5e6eec5513f3.yml
openapi_spec_hash: 7e6a5737901cef39499bf749a17d9939
config_hash: 4ad881d1e70144d965fd188c40350add
configured_endpoints: 157
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-179992b114ffada2cdd2d9d56a8a25e0683bec2297606d32d0f0006b9eb9f21d.yml
openapi_spec_hash: a111418d378ea248892306c81b00f8c8
config_hash: 6729d695e399d14fff4891b6b82ec86c
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ private constructor(
fun accountToken(): Optional<String> = accountToken.getOptional("account_token")

/**
* Only present when user_type == "BUSINESS". List of all entities with >25% ownership in the
* company.
* Deprecated. Only present when user_type == "BUSINESS".
*
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -613,10 +612,7 @@ private constructor(
this.accountToken = accountToken
}

/**
* Only present when user_type == "BUSINESS". List of all entities with >25% ownership in
* the company.
*/
/** Deprecated. Only present when user_type == "BUSINESS". */
fun beneficialOwnerEntities(beneficialOwnerEntities: List<AccountHolderBusinessResponse>) =
beneficialOwnerEntities(JsonField.of(beneficialOwnerEntities))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ private constructor(
fun productId(): Optional<String> = body.productId()

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
* `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with tracking
* - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
Expand Down Expand Up @@ -206,8 +206,8 @@ private constructor(
fun productId(productId: JsonField<String>) = apply { body.productId(productId) }

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -432,8 +432,8 @@ private constructor(
fun productId(): Optional<String> = productId.getOptional("product_id")

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -569,8 +569,8 @@ private constructor(
fun productId(productId: JsonField<String>) = apply { this.productId = productId }

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -689,8 +689,8 @@ private constructor(
}

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
* `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with tracking
* - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
Expand All @@ -713,7 +713,7 @@ private constructor(

companion object {

@JvmField val _2_DAY = of("2-DAY")
@JvmField val _2_DAY = of("2_DAY")

@JvmField val EXPEDITED = of("EXPEDITED")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ private constructor(
fun shippingAddress(): Optional<ShippingAddress> = body.shippingAddress()

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
* `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with tracking
* - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
Expand Down Expand Up @@ -201,8 +201,8 @@ private constructor(
}

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -427,8 +427,8 @@ private constructor(
shippingAddress.getOptional("shipping_address")

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -557,8 +557,8 @@ private constructor(
}

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -670,8 +670,8 @@ private constructor(
}

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
* `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with tracking
* - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
Expand All @@ -694,7 +694,7 @@ private constructor(

companion object {

@JvmField val _2_DAY = of("2-DAY")
@JvmField val _2_DAY = of("2_DAY")

@JvmField val EXPEDITED = of("EXPEDITED")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ import java.util.Optional
import kotlin.jvm.optionals.getOrNull

/**
* Creates a new card with the same card token and PAN, but updated expiry and CVC2 code. The
* original card will keep working for card-present transactions until the new card is activated.
* For card-not-present transactions, the original card details (expiry, CVC2) will also keep
* working until the new card is activated. Applies to card types `PHYSICAL` and `VIRTUAL`. A card
* can be replaced or renewed a total of 8 times.
* Applies to card types `PHYSICAL` and `VIRTUAL`. For `PHYSICAL`, creates a new card with the same
* card token and PAN, but updated expiry and CVC2 code. The original card will keep working for
* card-present transactions until the new card is activated. For card-not-present transactions, the
* original card details (expiry, CVC2) will also keep working until the new card is activated. A
* `PHYSICAL` card can be replaced or renewed a total of 8 times. For `VIRTUAL`, the card will
* retain the same card token and PAN and receive an updated expiry and CVC2 code. `product_id`,
* `shipping_method`, `shipping_address`, `carrier` are only relevant for renewing `PHYSICAL` cards.
*/
class CardRenewParams
private constructor(
Expand Down Expand Up @@ -83,8 +85,8 @@ private constructor(
fun productId(): Optional<String> = body.productId()

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
* `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with tracking
* - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
Expand Down Expand Up @@ -265,8 +267,8 @@ private constructor(
fun productId(productId: JsonField<String>) = apply { body.productId(productId) }

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -523,8 +525,8 @@ private constructor(
fun productId(): Optional<String> = productId.getOptional("product_id")

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -708,8 +710,8 @@ private constructor(
fun productId(productId: JsonField<String>) = apply { this.productId = productId }

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options
* besides `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with
* tracking
Expand Down Expand Up @@ -834,8 +836,8 @@ private constructor(
}

/**
* Shipping method for the card. Use of options besides `STANDARD` require additional
* permissions.
* Shipping method for the card. Only applies to cards of type PHYSICAL. Use of options besides
* `STANDARD` require additional permissions.
* - `STANDARD` - USPS regular mail or similar international option, with no tracking
* - `STANDARD_WITH_TRACKING` - USPS regular mail or similar international option, with tracking
* - `PRIORITY` - USPS Priority, 1-3 day shipping, with tracking
Expand All @@ -858,7 +860,7 @@ private constructor(

companion object {

@JvmField val _2_DAY = of("2-DAY")
@JvmField val _2_DAY = of("2_DAY")

@JvmField val EXPEDITED = of("EXPEDITED")

Expand Down
Loading